package com.paul.ddyw.service;

import com.paul.ddyw.model.Order;
import com.paul.sys.tools.PageData;

import java.util.List;
import java.util.Map;

/**
 * Created by yangjianbo on 2016/2/16.
 * 电雕业务
 */
public interface OrderService {
    //下单1
    int placeOrder(Order order);

    //取消订单-1
    Boolean cancelOrder(String uuid);

    //确认订单2
    Boolean confirmOrder(String uuid);

    //出货3
    Boolean codeOrder(String uuid);

    //已收货4
    Boolean reciveOrder(String uuid);

    //已付款5
    Boolean payOrder(String uuid);

    //已完成0
    Boolean complateOrder(String uuid);

    //更新
    int update(Order order);

    //根据主键查询
    Order selectByPrimaryKey(String uuid);

    //查询
    PageData<Order> listPage(Map param);
}
